﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.ConstrainedExecution;
using System.Runtime.Serialization;
using System.Text;

namespace Ocean.His.MedicalInsurance
{
    [DataContract]
    public class SI1310Data
    {
        [DataMember(Name = "ver")]
        public string Ver { get; set; }

        public SI1310Data(string ver)
        {
            Ver = ver;
        }
    }

    [DataContract]
    public class SI1310InputModel
    {
        [DataMember(Name = "data")]
        public SI1310Data SI1310Data { get; set; }

        public SI1310InputModel(string ver)
        {
            SI1310Data = new SI1310Data(ver);
        }
    }

    /// <summary>
    /// 1310
    /// 按病种付费病种目录下载
    /// </summary>
    [DataContract]
    public class SI1310RequestModel : SIBaseRequestModel
    {
        public SI1310RequestModel(MedicalInsuranceOption medicalInsuranceOption, string ver) : base(medicalInsuranceOption)
        {
            Infno = "1310";
            Input = new SI1310InputModel(ver);
        }

        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SI1310InputModel Input { get; set; }
    }
}
